package com.chenjun.mysite.common;

import java.io.Serializable;
import java.util.Date;


public class BaseEntity extends IdEntity implements Serializable
{

	/**
	 * 统一定义id的entity基类.
	 */
	private static final long serialVersionUID = -7728703927362511237L;

	protected Long createdBy = 0L;
	protected Date createdDate;
	protected Long lastModifiedBy = 0L;
	protected Date lastModifiedDate;
	protected String remarks;
	
	public BaseEntity()
	{
		super();
	}

	public String getIdStr()
	{
		return String.valueOf(id);
	}

	public Long getCreatedBy()
	{
		return createdBy;
	}

	public void setCreatedBy(Long createdBy)
	{
		this.createdBy = createdBy;
	}

	public Date getCreatedDate()
	{
		return createdDate;
	}

	public void setCreatedDate(Date createdDate)
	{
		this.createdDate = createdDate;
	}

	public Long getLastModifiedBy()
	{
		return lastModifiedBy;
	}

	public void setLastModifiedBy(Long lastModifiedBy)
	{
		this.lastModifiedBy = lastModifiedBy;
	}

	public Date getLastModifiedDate()
	{
		return lastModifiedDate;
	}

	public void setLastModifiedDate(Date lastModifiedDate)
	{
		this.lastModifiedDate = lastModifiedDate;
	}

	public String getRemarks()
	{
		return remarks;
	}

	public void setRemarks(String remarks)
	{
		this.remarks = remarks;
	}

}
